org.mentalsmash.asksusanna.Word = function(word){
	var phrases = [];
	var score = 0;
	
	var maxScore = 0;
	var minScore = 0;
	
	return {
		
		'addPhrase' : function(phrase) {
			phrases.push(phrase);
		},
		
		'getPhrases' : function() {
			var res = [];
			$(phrases).each(function(i,e){
				res.push(e);
			});
			return res;
		},
		
		'getScore' : function() {
			return score;
		},
		
		'setScore' : function(s) {
			score = s;
		},
		
		'normalizedScore' : function(){
			if (score >= 0) {
				return score/maxScore;
			} else {
				return -1 * (score/minScore);
			}
		},
		
		'getWord' : function() {
			return word;
		},
		
		'getMaxScore' : function() {
			return maxScore;
		},
		
		'setMaxScore' : function(m) {
			maxScore = m;
		},

		'getMinScore' : function() {
			return minScore;
		},

		'setMinScore' : function(m) {
			minScore = m;
		}
		
	};
	
}